# #!-*-coding:utf-8 -*-
#
# from phoneCommand import PhoneCommand
# from allEnum import *
#
# from log import AsLogger
#
#
# logObj = AsLogger()
# logObj.info("info")
# logObj.debug("debug")
# logObj.error("error")
# logObj.warn("warn")
#
#
#
#
# port = 18  #端口
# baudrate = 115200 #端口是的波特率
# phc = PhoneCommand(port, baudrate)
# phc.beginPhoneTest()
#
# res, result = phc.sendReadNV(5)
# if res:
#     print result
#     logObj.info("success!")
# else:
#     logObj.error("fialed")
#
# phc.endPhoneTest()
#
#
